import axios from '@/libs/api.request'
// 积分活动列表
export const getPointLists = data => axios.request({
  url: '/marketing/points/activity/list',
  method: 'post',
  data
})

// 积分活动编辑保存
export const savePoint = data => axios.request({
  url: '/marketing/points/activity/save',
  method: 'post',
  data
})

// 积分活动详情查询
export const queryPoint = data => axios.request({
  url: '/marketing/points/activity/query',
  method: 'post',
  data
})

// 积分结束活动
export const closePoint = data => axios.request({
  url: '/marketing/points/activity/close',
  method: 'post',
  data
})

// 积分删除活动
export const delPoint = data => axios.request({
  url: '/marketing/points/activity/delete',
  method: 'post',
  data
})
